package com.cy.pj.sys.controller;

import com.cy.pj.common.pojo.JsonResult;
import com.cy.pj.sys.service.SysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/")
@Controller
public class PageController {

    @RequestMapping("doIndexUI")
    public String doIndexUI(){
        return "starter";
    }


/*      @RequestMapping("{module}/{moduleUI}")
        public String doModuleUI(@PathVariable String moduleUI) {
            return "sys/"+moduleUI; }*/

    @RequestMapping("{module}/{moduleUI}")
    public String doMenuUI(@PathVariable String moduleUI){
        return "sys/"+moduleUI;
    }



}
